//
//  ONAddSymbolTableViewCell.h
//  Volatix
//
//  Created by Nguyen Minh Duc on 6/5/14.
//  Copyright (c) 2014 Familly. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ONBaseCell.h"
#import "ONISOObjects.h"
@protocol ONAddSymbolTableViewCellDelegate <NSObject>

-(void)ONAddSymbolTableViewCellDidselected:(ONISOObjects*)iSOObject;
-(void)ONAddSymbolTableViewCellDidRemoved:(ONISOObjects*)iSOObject;
-(void)oNAddSymbolTableViewCelldidSelectObject:(ONISOObjects*)iSOObject;

@end

@interface ONAddSymbolTableViewCell : ONBaseCell
@property (weak, nonatomic) IBOutlet UIButton *isChecked;
@property (weak, nonatomic) id<ONAddSymbolTableViewCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIButton *itemClick;

@property (weak, nonatomic) NSIndexPath *indexPath;
@property (weak, nonatomic) UITableView *tableView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) ONISOObjects *data;
- (IBAction)itemDidSelected:(id)sender;

- (void)cellWillSelect:(BOOL)isSelect;
- (IBAction)checkItem:(id)sender;
- (void)loadCellData:(ONISOObjects*)ISOObject;
- (IBAction)check:(id)sender;
@end
